/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package components;

/**
 *
 * @author Ervin James
 */

import javax.swing.ImageIcon;
import javax.swing.JLabel;

public class CImage extends JLabel {


       public CImage(String image, int width, int height){

        setIcon(new ImageIcon(getClass().getResource("/images/"+image)));
        setSize(width,height);


    }

}
